# -*- coding: utf-8 -*-
"""
使用python生成创建表的create_table的sql语句
要求数据字典包含 column,types,context 三个字段
"""

import pandas as pd

from stock_py.tools.database import stock_db as db


def make_create_tb_sql():
    tb_name='stock_qx'
    tb_name='stock_ema'
    tb_name='stock_f3'
    df=pd.read_clipboard()
    
    sql = db.create_table_sql(tb_name, df)
    print(sql)

if __name__ == '__main__':
    main()